﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ReservoirBLL;

namespace ReservoirManger
{
    /// <summary>
    /// DeleteInfo 的摘要说明
    /// </summary>
    public class DeleteInfo : IHttpHandler
    {

        public void ProcessRequest(HttpContext context)
        {

            var ID = Convert.ToInt32(context.Request["id"]);
            UserBLL userBLL = new UserBLL();    
            var res=userBLL.DeleteInfo(ID);    
            context.Response.Write(res);
        }

        public bool IsReusable
        {
            get
            {
                return false;
            }
        }
    }
}